package com.ruyuan.commodity.consumer;

import com.github.lianjiatech.retrofit.spring.boot.annotation.RetrofitScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author kimmy
 **/
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@RetrofitScan(value = "com.ruyuan.commodity.open.api")
@ComponentScan(basePackages = {"com.ruyuan.commodity.consumer", "com.ruyuan.commodity.open.api"})
public class ConsumerApplication {

    private static final org.slf4j.Logger LOG = org.slf4j.LoggerFactory.getLogger(ConsumerApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(ConsumerApplication.class, args);
    }

}
